<template>
  <div class="header-container">
    <h4 class="logo">梦莎</h4>
    <van-search
      disabled
      shape="round"
      background="#fff"
      placeholder="请输入搜索关键词"
      @click="gotoPopup"
    />
  </div>
</template>

<script>
export default {
  methods: {
    gotoPopup() {
      this.$router.push("/home/popup");
    },
  },
};
</script>

<style lang="less" scoped>
.header-container {
  width: 100%;
  height: 53px;
  overflow: hidden;
  display: flex;
  position: fixed;
  top: 0;
  z-index: 999;
  background-color: #fff;
}
.logo {
  padding: 15px;
  font-family: "宋体";
  font-size: 24px;
  font-weight: normal;
  background: #fff;
  color: #2c3e50;
}
/deep/ .van-search {
  width: 100%;
  flex: 1;
  padding: 10px;
}
</style>